#ifndef BUILDING_H
#define BUILDING_H

#include "GameObject.h"

enum BuildingTypes
{
	SIMPLE,
	BLOCKY,
	MODERN,
	CLASSIC
};

class Building : public GameObject
{
public:
	void Generate(D3DXVECTOR3 centre, D3DXVECTOR3 area);
	void GenBlocky();
	void GenModern();
	void GenClassic();
	void GenSimple();
	void NextStep();
private:
	D3DXVECTOR3 m_vArea;
	int m_Step;
	int m_MaxStep;
	bool m_Stepped;
	int m_Type;
	float m_LastTierHeight;
	int m_Height;
	float m_maxLeft,m_maxRight,m_maxFront,m_maxBack;
	
};
#endif